package com.joysuch.wwyt.mh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.mh.entity.MhMajorHazard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zqw
 * @since 2022-05-24
 */
@Repository
public interface MhMajorHazardMapper extends BaseMapper<MhMajorHazard> {

    int countByCodeAndState(@Param("code") String code);

}
